package dome1;

public class Text {
    public static void main(String[] args) {
        int a = 10, b = 20, c = 30;
        System.out.println(sum(a, b));
        System.out.println(sum(a, b, c));
    }

    public static int sum(int a,int b,int c) {
        return a + b + c;
    }
    public static int sum(int a,int b) {
        return a + b;
    }
}
